home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / xsane.postinst < prev    next >
Text File  |  2009-11-05  |  504b  |  22 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. HTMLDOCDIR=/usr/share/doc/xsane/html
  6. NEWHTMLDOCDIR=../xsane-common/html
  7.  
  8. if [ -d "$HTMLDOCDIR" ] && [ ! -L "$HTMLDOCDIR" ]; then
  9.     # Remove old directory and files that are now provided by xsane-common
  10.     rm -rf "$HTMLDOCDIR"
  11.     # Create a link to the new directory
  12.     ln -s "$NEWHTMLDOCDIR" "$HTMLDOCDIR"
  13. fi
  14.  
  15.  
  16. # Automatically added by dh_installmenu
  17. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  18.     update-menus
  19. fi
  20. # End automatically added section
  21.  
  22.